package com.anan.service;

import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface BaseService<T,V> {
    Integer insert(V query);
    Integer delete(T query);
    Integer update(T query);
    V get(T query);
    List<V> list(T query);
    List<V> list();
}
